package com.student_dorm.pojo;

import java.util.Date;

public class Visitor {
    private Integer id;
    private String vId;
    private String vName;
    private String vCard;
    private Date vCometime;
    private Date vLeavetime;
    public Visitor(Integer id, String vId, String vName, String vCard, Date vCometime, Date vLeavetime) {
        this.id = id;
        this.vId = vId;
        this.vName = vName;
        this.vCard = vCard;
        this.vCometime = vCometime;
        this.vLeavetime = vLeavetime;
    }

    public Visitor() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getvId() {
        return vId;
    }

    public void setvId(String vId) {
        this.vId = vId == null ? null : vId.trim();
    }

    public String getvName() {
        return vName;
    }

    public void setvName(String vName) {
        this.vName = vName == null ? null : vName.trim();
    }

    public String getvCard() {
        return vCard;
    }

    public void setvCard(String vCard) {
        this.vCard = vCard == null ? null : vCard.trim();
    }

    public Date getvCometime() {
        return vCometime;
    }

    public void setvCometime(Date vCometime) {
        this.vCometime = vCometime;
    }

    public Date getvLeavetime() {
        return vLeavetime;
    }

    public void setvLeavetime(Date vLeavetime) {
        this.vLeavetime = vLeavetime;
    }
}